﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="PositionInfo.ascx.cs" Inherits="Job.Web.userControls.Company.PositionInfo" %>
<%@ Register Assembly="Job.Web" Namespace="Job.Web.RelatedDrowDownList" TagPrefix="cc1" %>

<table border="1px" bordercolor="#d8e1e7" style="border-style: solid; border-collapse: collapse"
    width="99%" class="ResumeBaseTable" align="center">
    <tbody>
        <tr>
            <td colspan="3" class="title_1">
                基本资料( <font color="#ec0000">*</font> 为必填项)
            </td>
        </tr>
        <tr align="left">            
            <td class="ResumeLabelTD" colspan="3" id="message" runat="server">
                &nbsp
            </td>
        </tr>        
        <tr align="left">            
            <td class="ResumeLabelTD">
                职位名称&nbsp;<span><font color="red">*</font> </span>
            </td>
            <td width="300" class="ResumeTD">
                <asp:TextBox ID="tbName" runat="server" MaxLength="50" CssClass="TextBox" Width="250px"></asp:TextBox>
            </td>        
            <td class="ResumeTD">
                <asp:RequiredFieldValidator ID="rfvName" runat="server" ControlToValidate="tbName"
                    ErrorMessage="请输入职位名称"></asp:RequiredFieldValidator>
            </td>            
        </tr>  
        <tr align="left">            
            <td class="ResumeLabelTD">
                职位类别&nbsp;<span><font color="red">*</font> </span>
            </td>
            <td width="300" class="ResumeTD">
                <asp:DropDownList ID="ddlClassFather" runat="server" Width="120px">
                </asp:DropDownList>
                <asp:DropDownList ID="ddlClassSub" runat="server" Width="130px">
                </asp:DropDownList>
                <cc1:RelatedList ID="ClassRelate" runat="server">
                </cc1:RelatedList>                
            </td>        
            <td class="ResumeTD">
                <asp:RequiredFieldValidator ID="rfvClass" runat="server" ControlToValidate="ddlClassSub"
                     InitialValue="0" ErrorMessage="请选择所属职位类别"></asp:RequiredFieldValidator>
            </td>            
        </tr>          
        
        <tr align="left">            
            <td class="ResumeLabelTD">
                学&nbsp;&nbsp;历&nbsp;<span><font color="red">*</font> </span>
            </td>
            <td width="300" class="ResumeTD">
                <asp:DropDownList ID="ddlEduction" runat="server" Height="16px" Width="250px">
                </asp:DropDownList>
            </td>        
            <td class="ResumeTD">
                <asp:RequiredFieldValidator ID="rfvEducation" runat="server" ControlToValidate="ddlEduction"
                    InitialValue="0" ErrorMessage="请选择职位要求最低学历"></asp:RequiredFieldValidator>
            </td>            
        </tr>          
        <tr align="left">            
            <td class="ResumeLabelTD">
                招聘人数
            </td>
            <td width="300" class="ResumeTD">
                <asp:TextBox ID="tbNumber" runat="server" CssClass="TextBox" Width="120px" MaxLength="2"></asp:TextBox>
            </td>        
            <td class="ResumeTD">
                <asp:RegularExpressionValidator ID="revNumber" runat="server" 
                    ControlToValidate="tbNumber" ErrorMessage="请输入数字" ValidationExpression="\d+"></asp:RegularExpressionValidator>
            </td>            
        </tr>          
        <tr align="left">            
            <td class="ResumeLabelTD">
                性别要求&nbsp;
            </td>
            <td width="300" class="ResumeTD">
                
                <asp:RadioButtonList ID="rblSexy" runat="server" RepeatColumns="3">
                    <asp:ListItem Selected="True" Value="3">不限</asp:ListItem>
                    <asp:ListItem Value="1">男</asp:ListItem>
                    <asp:ListItem Value="2">女</asp:ListItem>
                </asp:RadioButtonList>
                
            </td>        
            <td class="ResumeTD">
                &nbsp;
            </td>            
        </tr>            
                
        <tr align="left">            
            <td class="ResumeLabelTD">
                身高要求
            </td>
            <td width="300" class="ResumeTD">
                <asp:TextBox ID="tbHeight" runat="server" CssClass="TextBox" Width="120px" 
                    MaxLength="3"></asp:TextBox>cm
            </td>        
            <td class="ResumeTD">
                <asp:RegularExpressionValidator ID="revHeight" runat="server" 
                    ControlToValidate="tbHeight" ErrorMessage="请输入数字" ValidationExpression="\d+"></asp:RegularExpressionValidator>
            </td>            
        </tr>            
        
        
        <tr align="left">            
            <td class="ResumeLabelTD">
                年龄要求
            </td>
            <td width="300" class="ResumeTD">
                <asp:DropDownList ID="ddlAgeMin" runat="server" Height="16px" Width="120px">
                </asp:DropDownList>
                &nbsp;至&nbsp;
                <asp:DropDownList ID="ddlAgeMax" runat="server" Height="16px" Width="120px">
                </asp:DropDownList>                
            </td>        
            <td class="ResumeTD">
                &nbsp;
            </td>            
        </tr>            
        
        <tr align="left">            
            <td class="ResumeLabelTD">
                工作年限
            </td>
            <td width="300" class="ResumeTD">
                <asp:DropDownList ID="ddlWorkLen" runat="server" Height="16px" Width="120px">
                </asp:DropDownList>             
            </td>        
            <td class="ResumeTD">
                &nbsp;
            </td>            
        </tr>         
        
        <tr align="left">            
            <td class="ResumeLabelTD">
                薪资待遇
            </td>
            <td width="300" class="ResumeTD">
                <asp:DropDownList ID="ddlSalary" runat="server" Height="16px" Width="250px">
                </asp:DropDownList>
            </td>        
            <td class="ResumeTD">
                &nbsp;
            </td>            
        </tr>     

        <tr align="left">            
            <td class="ResumeLabelTD">
                食宿条件
            </td>
            <td width="300" class="ResumeTD">
                <asp:DropDownList ID="ddlEatRoom" runat="server" Height="16px" Width="250px">
                </asp:DropDownList>
            </td>        
            <td class="ResumeTD">
                &nbsp;
            </td>            
        </tr>                 
        
        <tr align="left">            
            <td class="ResumeLabelTD">
                外语要求
            </td>
            <td width="300" class="ResumeTD">
                语种&nbsp;&nbsp;<asp:DropDownList ID="ddlLang" runat="server" Height="16px" Width="120px">
                </asp:DropDownList><br />
                熟练&nbsp;&nbsp;<asp:DropDownList ID="ddlLangSkill" runat="server" Height="16px" Width="120px">
                </asp:DropDownList><br />
                证书&nbsp;&nbsp;<asp:DropDownList ID="ddlLangCertify" runat="server" Height="16px" Width="120px">
                </asp:DropDownList>
            </td>        
            <td class="ResumeTD">
                &nbsp;
            </td>            
        </tr>           
        
        
        <tr align="left">            
            <td class="ResumeLabelTD">
                粤语要求
            </td>
            <td width="300" class="ResumeTD">
                <asp:DropDownList ID="ddlDialect" runat="server" Height="16px" Width="120px">
                </asp:DropDownList>&nbsp;
            </td>        
            <td class="ResumeTD">
                &nbsp;
            </td>            
        </tr>          
        
        <tr align="left">            
            <td class="ResumeLabelTD">
                截止日期
            </td>
            <td width="300" class="ResumeTD">
                <asp:TextBox ID="tbEndDate" runat="server" CssClass="TextBox" Width="180px" 
                    MaxLength="10"></asp:TextBox>
            </td> 
            <td class="ResumeTD">
                &nbsp;
            </td>            
        </tr>          
                
        <tr align="left">            
            <td class="ResumeLabelTD">
                工作地点&nbsp;<span><font color="red">*</font> </span>
            </td>
            <td width="300" class="ResumeTD">
                <asp:DropDownList ID="ddlAddrFather" runat="server" Width="120px">
                </asp:DropDownList>
                <asp:DropDownList ID="ddlAddrSub" runat="server" Width="130px">
                </asp:DropDownList>
                <cc1:RelatedList ID="AddressRate" runat="server">
                </cc1:RelatedList>                
            </td>        
            <td class="ResumeTD">
                <asp:RequiredFieldValidator ID="rfvAddr" runat="server" ControlToValidate="ddlAddrSub"
                    InitialValue="0"  ErrorMessage="请选择职位的工作地点"></asp:RequiredFieldValidator>
            </td>            
        </tr>            
                
                
        <tr align="left">            
            <td class="ResumeLabelTD">
                招聘类型&nbsp;
            </td>
            <td width="300" class="ResumeTD">
                
                <asp:RadioButtonList ID="rblType" runat="server" RepeatColumns="3">
                    <asp:ListItem Selected="True" Value="0">不限</asp:ListItem>
                    <asp:ListItem Value="1">全职</asp:ListItem>
                    <asp:ListItem Value="2">兼职</asp:ListItem>
                </asp:RadioButtonList>
                
            </td>        
            <td class="ResumeTD">
                &nbsp;
            </td>            
        </tr>            
                
        
        <tr align="left">            
            <td class="ResumeLabelTD">
                联系邮箱&nbsp;
            </td>
            <td width="300" class="ResumeTD">
                <asp:TextBox ID="tbMail" runat="server" CssClass="TextBox" Width="250px" 
                    MaxLength="100"></asp:TextBox>
            </td>        
            <td class="ResumeTD">
                如果不填写，默认使用公司邮箱。
                <asp:RegularExpressionValidator ID="revMail" runat="server" 
                    ControlToValidate="tbMail" ErrorMessage="输入的Email地址不合法" 
                    ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>                    
            </td>            
        </tr>            
        
        <tr align="left">            
            <td class="ResumeLabelTD">
                详细说明&nbsp;
            </td>
            <td width="300" class="ResumeTD">
                <asp:TextBox ID="tbDesc" runat="server" CssClass="TextBox" Width="400px" 
                    TextMode="MultiLine" Columns="100" Rows="10" MaxLength="2000"></asp:TextBox>
            </td>        
            <td class="ResumeTD">
                &nbsp;
            </td>            
        </tr>              

        <tr>
            <td class="ResumeLabelTD">&nbsp;</td>        
            <td colspan="2" class="ResumeTD" align="center">
                <asp:Button ID="btnSave" runat="server" Text=" 保存资料 " CssClass="btn_2k3" 
                    onclick="btnSave_Click" />
            </td>
        </tr>

    </tbody>
</table>
<br />

